package com.example.app_mqttclient.obj;

public class DeviceView {

    private int deviceImg;
    private String deviceName;
    private String devicePubTopic;
    private String deviceSubTopic;
    private boolean deviceState = false;

    public DeviceView() {

    }

    public DeviceView(int img, String name, boolean state, String pubTopic, String subTopic) {
        this.deviceImg = img;
        this.deviceName = name;
        this.deviceState = state;
        this.devicePubTopic = pubTopic;
        this.deviceSubTopic = subTopic;
    }


    public int getDeviceImg() {
        return this.deviceImg;
    }

    public String getDeviceName() {
        return this.deviceName;
    }

    public void setDeviceImg(int img) {
        this.deviceImg = img;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getDevicePubTopic() {
        return devicePubTopic;
    }

    public void setDevicePubTopic(String devicePubTopic) {
        this.devicePubTopic = devicePubTopic;
    }

    public String getDeviceSubTopic() {
        return deviceSubTopic;
    }

    public void setDeviceSubTopic(String deviceSubTopic) {
        this.deviceSubTopic = deviceSubTopic;
    }

    public boolean getDeviceState() {
        return deviceState;
    }

    public void setDeviceState(boolean deviceState) {
        this.deviceState = deviceState;
    }
}
